﻿@model DateTime
@using System.Globalization
<input id="@Html.IdForModel()" name="@Html.NameForModel()" value="@((Model > DateTime.MinValue ? Model : DateTime.Today).ToString(CultureInfo.CurrentCulture.DateTimeFormat.UniversalSortableDateTimePattern))" />
<script>
    $(document).ready(function () {
        $("#@Html.IdForModel()").kendoDatePicker({
            //culture: "@System.Globalization.CultureInfo.CurrentCulture.Name"
        });
    });
</script>